package com.ceair.enums;

import lombok.Getter;

/**
 * @author wangbaohai
 * @ClassName ResultCode
 * @description: 枚举了一些常用API操作码
 * @date 2025年03月04日
 * @version: 1.0.0
 */
@Getter
public enum ResultCode {

    SUCCESS(200, "操作成功"),
    FAILED(500, "操作失败"),
    OPERTINGFAILED(500001, "当前操作正在进行中，请稍等"),
    VALIDATE_FAILED(404, "参数检验失败"),
    UNAUTHORIZED(401, "暂未登录或token已经过期"),
    FORBIDDEN(403, "没有相关权限"),
    LOCKEDUSER(405, "用户已被停用,请联系管理员启用"),
    DATA_UPDATE_FAILED(600000, "修改数据失败"),
    DATA_ALREADY_EXIST(600001, "数据已存在"),
    BIND_FAILED(600003, "绑定失败"),
    BIND_DATA_LACK(600004, "缺少绑定信息"),
    UPLOAD_FILE_FAILED(600005, "文件上传失败"),
    ORGANIZATION_SELECTED_FAILED(600006, "组织查询失败"),
    LINK_INSERT_FAILED(600007, "链接新增失败"),
    LINK_UPDATE_FAILED(600007, "链接修改失败"),
    LINK_BIND_USER_FAILED(600008, "关联链接失败"),
    LINK_BIND_USER_EXIST(600009, "关联信息已经存在"),
    LINK_ID_IS_EMPTY(600010, "未获取到传入链接信息"),
    USER_ID_NOT_FOUND(600011, "未获取到当前用户ID"),
    STAFF_ID_NULL(600012, "操作数据库失败: 删除员工信息为空"),
    LINK_ID_NULL(600012, "操作数据库失败: 删除链接信息为空"),
    IMAGE_UPLOAD_FILE_LIMIT(600013, "非允许的图片文件格式"),
    INFO_IS_NULL(600014, "输入信息为空"),
    LINK_ID_IS_RESTRICT(1000672,"链接地址 该字段长度超过限制"),
    DELETE_RESULT_CHECK_ERROR(600015, "删除检验异常,删除数量异常"),
    FILE_IS_NULL(600016, "未检测到上传文件信息,请检查"),
    INFO_TYPE_MISS(600017, "信息类型丢失,请重试"),
    URL_NOT_FOUND(600018, "未获取到URL"),
    TOOLS_INSERT_FAILED(600019,"新增工具失败"),
    REMOVE_BIND_FAILED(600020, "移除绑定失败"),
    TOOLS_ALREADY_EXIST(600021,"已存在相同名称的工具"),
    ACCOUNT_NATURE_INSERT_FAILED(600022,"账户性质新增失败"),
    CURRENCY_INSERT_FAILED(600023,"币种新增失败"),
    DICTIONARY_INSERT_FAILED(600024,"字典新增失败"),
    PAYMENT_METHOD_INSERT_FAILED(600025,"支付方式新增失败"),
    PAYMENT_NATURE_INSERT_FAILED(600026,"支付性质新增失败"),
    SWITF_INFO_INSERT_FAILED(600027,"SWITF信息新增失败"),
    AN_ID_NULL(600028, "操作数据库失败: 删除账户性质信息为空"),
    CUR_ID_NULL(600029, "操作数据库失败: 删除币种信息为空"),
    DIC_ID_NULL(600030, "操作数据库失败: 删除字典信息为空"),
    PM_ID_NULL(600031, "操作数据库失败: 删除账户方式信息为空"),
    PN_ID_NULL(600032, "操作数据库失败: 删除账户性质信息为空"),
    SWITF_ID_NULL(600033, "操作数据库失败: 删除SWITF信息为空"),
    TRADE_DIRECTION_INSERT_FAILED(600034, "操作数据库失败: 交易方向信息为空"),
    TD_ID_NULL(600035, "操作数据库失败: 删除交易方向信息为空"),
    MD_COR_UNICODE_INFO_NULL(600036, "主数据操作失败: 法人社会统一代码为空"),
    BINDING_INFO_EXIST(600037, "主数据操作失败: 法人组织绑定关系已存在"),
    BINDING_CHECK_FAILED(600038, "校验信息检查失败"),
    PDF_FAILED(600039,"PDF文件生成失败"),
    RECEIPT_STATUS_NOT_NORMAL(600040,"当前收据状态未开具或信息不存在"),
    FUND_NUM_EXISTED(600041,"新增失败: 当前资金编号已存在"),
    RECEIPT_STATE_UPDATE_FAILED(600042,"修改失败: 当前收据状态存在未开具或已结清状态,请检查后重试"),
    RECEIPT_NAME_FIND_NULL(600043,"未查询到当前业务实体对应的收款单位 请检查"),
    UNLOCK_STATUS(600044,"当前数据存在启用或停用状态 请检查后进行删除"),
    CHILD_INFO_EXIST(600045,"当前信息存在子级信息 请检查后进行删除"),
    EMP_BIND_INFO_EXIST(600046,"当前信息存在绑定员工信息 请检查后进行删除"),
    STATUS_NOT_UNLOCKED(600047,"当前信息状态为非启用状态 请选用启用数据"),
    DEP_SELECTED_FAILED(6000048, "部门查询失败"),
    POS_SELECTED_FAILED(6000049, "职务查询失败"),
    CHILD_INFO_EXIST_UPDATE(600050,"当前信息存在子级信息 请检查后进行修改"),
    SIGNATURE_INFO_IS_NULL(600051,"外部签章请求系统名称或业务名称缺失 请检查"),
    SIGNATURE_INFO_FIND_NULL(600052,"检索系统名称和业务名称结果为空 未找到对应签章信息 请联系管理员"),
    USER_EMP_INFO_NULL(600053,"当前用户无绑定员工信息"),
    SIGNATURE_ORG_CODE_NULL(600054,"外部签章请求-->业务实体编码缺失 请检查"),
    RECEIPT_STATUS_NOT_UPDATE(600055,"当前收据状态不允许修改"),
    RECEIPT_NAME_NOT_FOUND(600056,"当前组织下未获取到对应收款单位"),
    SERIAL_NAME_NULL(600057,"序列号名称未填写"),
    SERIAL_CODE_NULL(600058,"序列号CODE值未填写"),
    SERIAL_INIT_NUM_NULL(600059,"序列号初始值未填写"),

    SERIAL_NAME_EXIST(600060,"序列号名称已存在"),
    SERIAL_NAME_NOT_EXIST(600061,"序列号名称不存在"),
    SERIAL_IS_OPEN(600062,"序列号已经启用不能删除!"),
    FILE_ID_IS_NULL(600063, "需要预览的文件ID未指定"),
    PERSONAL_EVA_IS_EXIST(7000001, "存在已生效个人考评头表信息"),
    END_BIGGER_THAN_START(7000002, "终止年度小于起始年度"),
    PERSONAL_EVA_INSERT_FAILED(7000003, "操作数据库失败：个人考评头表信息新增失败"),
    PERSONAL_EVA_UPDATE_FAILED(7000004, "操作数据库失败：个人考评头表信息修改失败"),
    PERSONAL_EVA_LINE_INSERT_FAILED(7000005, "操作数据库失败：个人考评行表信息新增失败"),
    PERSONAL_EVA_LINE_UPDATE_FAILED(7000006, "操作数据库失败：个人考评行表信息修改失败"),
    PERSONAL_EVALUATION_ID_NULL(7000007, "传入个人考评头表id为空"),
    LNTERGRAL_EXIST(7000008, "存在相同数据 请检查数据"),
    LNTERGRAL_STATUS(7000009, "当前删除数据存在已调整状态 请检查数据"),
    INTEGRAL_INSERT_FAILED(70000010, "操作数据库失败：积分登记头表信息新增失败"),
    INTEGRAL_UPDATE_FAILED(70000011, "操作数据库失败：积分登记头表信息更新失败"),
    INTEGRAL_LINE_INSERT_FAILED(7000012, "操作数据库失败：积分登记行表信息新增失败"),
    INTEGRAL_LINE_UPDATE_FAILED(7000013, "操作数据库失败：积分登记行表信息更新失败"),
    INTEGRAL_STATE_FORBIDDEN_UPDATE(7000014, "操作数据库失败：积分登记表信息状态禁止修改"),
    INTEGRAL_LINE_IS_EXIST(7000015, "积分登记:当前员工存在重复积分小项,请检查"),
    EXCEL_LINE_INFO_NULL(7000016,"当前导入execl数据存在必填项为空的信息,请检查"),
    PERSONAL_LINE_INDICATOR_INFO_NULL(7000017,"个人考评行表信息缺失 考评指标缺失"),
    BATCH_INSERT_EXCEL_NOT_FUND(7000018,"未获取到批量导入excel文件"),
    EXCEL_CATE_INFO_NULL(7000019,"当前导入execl数据大类项为空的信息,请检查"),
    EXCEL_PROJECT_INFO_NULL(7000020,"当前导入execl数据项目为空的信息,请检查"),
    PERSONAL_POINT_YEAR_IS_NULL(7000021,"当前未传入年度信息 进行个人积分查询"),
    INTEGRAL_LINE_EVA_INFO_NULL(7000022,"当前考评项信息为空 ,请检查"),
    INTEGRAL_LINE_CATEGORIES_INFO_NULL(7000023,"当前大类项信息为空 ,请检查"),
    INTEGRAL_LINE_PROJECT_INFO_NULL(7000024,"当前项目信息为空 ,请检查"),
    INTEGRAL_LINE_HIERARCHY_INFO_NULL(7000025,"当前层级项信息为空 ,请检查"),
    INTEGRAL_LINE_EMPLOYEE_INFO_NULL(7000026,"当前员工项信息为空 ,请检查"),
    INTEGRAL_LINE_SCORE_INFO_NULL(7000027,"当前调整分数信息为空 ,请检查"),
    INTEGRAL_STATE_FORBIDDEN_APPROVING(7000031, "当前状态非已输入或已驳回：积分登记表信息不能送审或修改 "),
    INTEGRAL_STATE_FORBIDDEN_DELETE(7000028, "当前状态非已输入：积分登记表信息不能删除 "),
    INTEGRAL_STATE_FORBIDDEN_CANCEL(7000029, "当前状态非已驳回：积分登记表信息不能作废 "),
    INTEGRAL_STATE_FORBIDDEN_APPROVE(7000030, "当前状态非送审中：积分登记表信息不能审批 "),
    EXCEL_EMPLOYEE_FOUND_NULL(7000031, "当前批量导入员工信息检索为空 "),
    EXCEL_BATCH_INSERT_ERROR(7000032, "当前批量导入信息有误 请检查绩效大类/项目/层级/考评指标是否生效"),
    PERSONAL_LINE_SCORE_INFO_NULL(7000033,"个人考评行表信息缺失 考评指标缺失"),
    RENT_HEAD_INFO_NULL(7000034,"租金支付/租赁 参数信息缺失"),
    RENT_PAYMENT_INSERT_FAILED(7000035,"操作数据库失败：租金支付信息新增失败"),
    RENT_PAYMENT_SOFR_INSERT_FAILED(7000036,"操作数据库失败：租金支付SOFR信息新增失败"),
    RENT_PAYMENT_SOFR_LINE_INSERT_FAILED(7000037,"操作数据库失败：租金支付SOFR行信息新增失败"),
    RENT_IS_EXISTED(7000038,"当前租金编号存在已生效信息 请检查后重新录入"),
    TIME_CHECK_FAILED(7000039,"时间信息存在重复区间 请检查"),
    START_TIME_BIGGER_THAN_END(7000040,"起始时间大于结束时间 请检查"),
    RENT_PAYMENT_IS_REGISTERED(7000041,"租金支付信息已登记 不能重复登记或删除修改操作"),
    RENT_PAYMENT_IS_QUOTED(7000042,"租金支付信息已引用 不能执行删除操作"),
    RENT_PAYMENT_DETAIL_NOT_CALCULATE(7000043,"租金支付信息存在未计算信息"),
    RENT_PAYMENT_UPDATE_FAILED(7000044,"操作数据库失败：租金支付信息修改失败"),
    LEASE_IS_EXISTED(7000045,"当前租赁明细编号存在已生效信息 请检查后重新录入"),
    LEASE_PAYMENT_IS_QUOTED(7000046,"付款计划信息已导入 不能执行删除/修改操作"),
    LEASE_PAYMENTSETTLEMENTSTATE_UPDATE(7000047,"当前信息款项结清状态为已结清"),
    CALCULATE_INFO_NOT_SAVE(7000048,"请保存后再点击计算按钮!"),
    LEASEDETAIL_UPDATE(7000049,"租赁明细修改失败"),
    LEASEDETAILRATE_UPDATE(7000050,"付款计划修改失败"),
    LEASEDETAILRATELINE_DELETE(7000051,"付款计划行表删除失败"),
    LEASEDETAILRATELINE_ADD(7000052,"付款计划行表新增失败"),
    LEASEDATAILAMORTIZELINE_UPDATE(7000053,"摊销明细表修改失败"),
    CALCULATE_FAILED(7000054,"租金支付计算明细出现异常 请检查信息"),
    RENT_PAYMENT_IS_UNREGISTERED(7000055,"租金支付信息尚未登记 不能取消登记"),
    LEASE_DETAILS_NOT_CALCULATE(7000056,"租赁明细信息尚未计算,不能进行登记 请先进行计算"),
    FAILED_TO_REGISTER_LEASE_DETAILS(7000057,"租赁明细登记失败"),
    CANCELLATION_REGISTRATION_LEASE_DETAILS(7000058,"租赁明细取消登记失败"),
    PAYMENTSETTLEMENT_NOT_REGISTRATION(7000059,"当前款项结清信息中有未登记信息"),
    PAYMENTSETTLEMENT_UNQUOTE(7000060,"当前款项结清信息中有未导入信息"),
    //租金支付金额核对错误 主信息与行信息金额之和不相等
    PRINCIPAL_CHECK_FAILED(7000061,"7000061"),
    LEASEDETAI_STARTDATE_INFO_NULL(7000062,"起始日期不能为空"),
    LEASEDETAI_ENDDATE_INFO_NULL(7000063,"终止日期不能为空"),
    LEASEDETAI_PAYMENTTYPE_INFO_NULL(7000064,"付款类型不能为空"),
    LEASEDETAI_AMOUNT_INFO_NULL(7000065,"数量不能为空"),
    LEASEDETAI_PRINCIPAL_INFO_NULL(7000066,"本金不能为空"),
    LEASEDETAI_MONTHNUMBER_INFO_NULL(7000067,"折现月数不能为空"),
    RENT_PAYMENT_LINE_INFO_NULL(7000068,"租金支付行信息 存在未填数据,请填写后重试"),
    CALCULATE_IS_EXIST(7000069,"当前已经存在计算结果 请勿重复计算"),
    LEASEDETAI_REGISTRATION(7000070,"请先保存再进行登记"),
    ASSOCIATEDASSET_NOT_UPDATE(7000071,"关联资产更新失败"),
    ASSOCIATEDASSET_NOT_SAVE(7000072,"关联资产更新失败"),
    FAIRVALUE_NOT_UPDATE(7000073,"公允价值修改失败"),
    PAYMENT_REGISTER_INSERT_FAILED(7000074,"付款登记新增失败"),
    PAYMENT_REGISTER_LINE_INSERT_FAILED(7000075,"付款登记行表数据新增失败"),
    PAYMENT_REGISTER_LINE_DELETE_FAILED(7000076,"付款登记行表数据删除失败"),
    PAYMENT_REGISTER_LINE_UPDATE_FAILED(7000077,"付款登记行表数据修改失败"),
    PAYMENT_REGISTER_IS_EXIST(7000078,"当前付款信息已有生成的付款单!请勿重复生成!"),
    PAYMENT_REGISTER_LINE_INFO_NULL(7000079,"付款登记行信息存在未填数据 请填写后重试"),
    PAYMENT_REGISTER_UPDATE_FAILED(7000080,"付款登记信息修改失败"),
    PAYMENT_REGISTER_IS_IMPORTED(7000081,"当前付款登记单信息已经导入,不允许修改"),
    LEASE_DETAILS_ERROR(7000082,"该租赁明细不是期末一次性类型！"),
    LEASING_CALCULATION_NOT_ADD(7000083,"测算头表新增失败！"),
    LEASING_CALCULATION_LINE_NOT_ADD(7000084,"测算租金支付表新增失败！"),
    LEASING_CALCULATION_AMORTIZE_LINE_NOT_ADD(7000085,"测算摊销明细表新增失败！"),
    LEASING_CALCULATION_NOT_UPDATE(7000086,"测算摊销明细表历史版本修改失败！"),
    LEASING_CALCULATION_LINE_NOT_UPDATE(7000087,"测算租金支付表历史版本修改错误！"),
    LEASING_CALCULATION_AMORTIZE_LINE_NOT_UPDATE(7000088,"测算摊销明细表历史版本修改错误！"),
    SIGN_INFO_IS_NULL(7000089,"当前组织下未发现对应签章！"),
    LEASE_SOURCE_FLAG_NULL(7000090,"当前数据不是租金支付导入数据！"),
    SYSTEM_CALENDAR_NOT_EXIST(7000091,"当前年份系统日历不存在或者未生效！"),
    SYSTEM_INTEREST_RATE_NOT_EXIST(7000092,"当前日期未获取到字典表中的隔夜sofr利率！"),
    PAYMENT_PAYMENT_TOTAL_NOT_EQUAL(7000093,"付款总额与行金额之和不等！"),
    RENTPAYMENT_NOT_EXIST(7000094,"当前租金支付信息不存在"),
    RENTSOFR_NOT_UPDATE(7000095,"租金支付引入状态修改失败"),
    RENT_PAYMENT_IS_UPDATE(7000096,"租金支付信息已引用 不能执行修改操作"),
    CURRENT_LEASE_DETAILS_IS_NOT_OMPORTED(7000097,"当前租赁明细未导入 不能进行测算操作！"),
    CURRENT_LEASE_DETAILS_HAVE_IMPORTED(7000098,"当前租赁明细已存在导入信息 不能重复导入"),
    UNREGISTERED_INFORMATION_EXISTS_PROCEDRE(7000099,"存在未登记信息 不能进行导入"),
    NO_ASSET_CURRENT_LEASE_NUMBER(7000100,"当前租赁编号不存在关联资产"),
    RENT_PAYMENT_OTHER_NULL(7000100,"租金支付其他支出 存在未填数据,请填写后重试"),
    PLATFORM_NAME_NULL(8000001,"接口名称信息未填写"),
    PLATFORM_SERVICE_CODE_NULL(8000002,"接口编码参数未填写"),
    PLATFORM_SERVICE_NULL(8000003,"接口服务未查询到对应结果"),
    PLATFORM_NAME_EXIST(8000004,"接口服务名称已存在"),
    REQUEST_SYSTEM_NULL(8000005,"接口平台服务请求时 未传入调用系统信息"),
    DOC_NOT_EXIST(8000006,"接口平台文档不存在"),
    PLATFORM_CODE_EXIST(8000007,"接口平台唯一编码值已存在"),
    OVERDUE_IS_QUOTED(8000008,"当前信息存在已登记信息"),
    EXAMINE_IS_QUOTED(8000009,"当前删除信息存在未通过或者查验通过的信息"),
    OVERDUE_ERROR(8000010,"当前查验信息在逾期表中未登记或未上传"),
    FINE_BIG_SCREEN_USERNAME_NOT_EXIST(9000001,"帆软大屏页面登录用户名错误"),
    VOIDMENUFAILED(100000, "校验菜单传入参数失败"),
    MENUISEXIT(100001, "已存在相同名称与类型的菜单数据"),
    INSERTMENUFAILED(100002, "操作数据库失败：插入菜单数据失败"),
    UPDATEMENUFAILED(100003, "操作数据库失败：更新菜单数据失败"),
    OPENMENUFAILED(100004, "操作数据库失败：启用菜单数据失败"),
    CLOSEMENUFAILED(100005, "操作数据库失败：停用菜单数据失败"),
    DELMENUFAILED(100006, "操作数据库失败：删除菜单数据失败"),
    VOIDROLEFAILED(100007, "校验角色传入参数失败"),
    ROLEISEXIT(100008, "已存在相同名称和模块的角色数据"),
    INSERTROLEFAILED(100009, "操作数据库失败：插入角色数据失败"),
    UPDATEROLEFAILED(100010, "操作数据库失败：更新角色数据失败"),
    OPENROLEFAILED(100011, "操作数据库失败：启用角色数据失败"),
    CLOSEROLEFAILED(100012, "操作数据库失败：停用角色数据失败"),
    DELROLEFAILED(100013, "操作数据库失败：删除角色数据失败"),
    BTNMENUNOTISEXIT(100014, "按钮所属菜单已不存在"),
    DELROLEMODULEFAILED(100015, "操作数据库失败：删除角色-子模块关联关系数据失败"),
    DELROLEMENUFAILED(100015, "操作数据库失败：删除角色-菜单关联关系数据失败"),
    DELROLEPERMISSIONFAILED(100015, "操作数据库失败：删除角色-按钮关联关系数据失败"),
    INSERTROLEMODULEFAILED(100015, "操作数据库失败：新增角色-子模块关联关系数据失败"),
    INSERTROLEMENUFAILED(100015, "操作数据库失败：新增角色-菜单关联关系数据失败"),
    VOIDUSERFAILED(100016, "校验用户传入参数失败"),
    USERISEXIT(100017, "已存在相同名称的用户数据"),
    INSERTUSERFAILED(100018, "操作数据库失败：插入用户数据失败"),
    INSERTUSEREMPFAILED(100019, "插入用户-员工关联关系数据失败"),
    UPDATEUSERFAILED(100020, "操作数据库失败：更新用户数据失败"),
    OPENUSERFAILED(100021, "操作数据库失败：启用用户数据失败"),
    CLOSEUSERFAILED(100022, "操作数据库失败：停用用户数据失败"),
    DELUSERFAILED(100023, "操作数据库失败：删除用户或者用户关联关系数据失败"),
    DELUSERROLEFAILED(100024, "操作数据库失败：删除用户-角色关联关系数据失败"),
    INSERTUSERROLEFAILED(100025, "操作数据库失败：新增用户-角色关联关系数据失败"),
    DELUSERORGFAILED(100026, "操作数据库失败：删除用户-角色关联关系数据失败"),
    INSERTUSERORGFAILED(100027, "操作数据库失败：新增用户-角色关联关系数据失败"),
    CHECKCHANGEPASSFAILED(100028, "修改用户密码失败，请填写修改信息"),
    CHECKCHANGEPASSIDFAILED(100029, "修改用户密码失败，当前用户未知"),
    CHECKCHANGEPASSNAMEFAILED(100030, "修改用户密码失败，请输入用户名"),
    CHECKCHANGEPASSPASSFAILED(100031, "修改用户密码失败，请输入旧密码"),
    CHECKCHANGEPASSNEWPASSFAILED(100032, "修改用户密码失败，请输入新密码"),
    CHECKUSERNAMEFAILED(100033, "修改用户密码失败，请输入正确的用户名"),
    CHECKUSERPASSFAILED(100034, "修改用户密码失败，请输入正确的旧密码"),
    CHECKRESETPASSFAILED(100035, "重置用户密码失败，请填写重置信息"),
    CHECKRESETPASSIDFAILED(100036, "重置用户密码失败，当前用户未知"),
    CHECKRESETPASSNAMEFAILED(100037, "重置用户密码失败，请输入用户名"),
    CHECKRESETPASSMAILFAILED(100038, "重置用户密码失败，请输入邮箱"),
    CHECKRESETUSERMAILFAILED(100039, "重置用户密码失败，用户不存在或者邮箱不正确"),
    CHECKRESETUSERMAILSENDFAILED(100040, "重置用户密码失败，发送邮箱通知失败"),
    REMOVETOKENFILED(1000041, "退出登录失败，当前用户未知"),
    REMOVETOKENFILEDBYREDIS(100042, "删除token失败，redis操作失败"),
    QUERYTASKWITPAGEFAILED(100043, "未指定待办/已办类型分页查询办理信息"),
    QUERYTASKWITPAGENOUSERFAILED(100044, "未指定待办/已办类型所属人信息"),
    EXISTEDFSSCMESSAGEFAIL(100045, "FSSC初始报文正在处理或已处理完成"),
    NOTEXISTEDFSSCMESSAGEFAIL(100046, "不存在代办的FSSC初始报文"),
    INSERTOLDFSSCMESSAGEFAIL(100047, "数据库错误：插入FSSC初始报文失败"),
    CHECKOLDFSSCMESSAGEFAIL(100048, "数据库错误：未检测到FSSC初始报文"),
    UPDATEOLDFSSCMESSAGEFAIL(100049, "数据库错误：更新FSSC初始报文失败"),
    SENDTODOTOOAFAIL(100050, "推送代办至OA发生业务异常"),
    SENDTODOTOOAUNKOWNFAIL(100051, "推送代办至OA发生系统异常"),
    PWDNOTEXIST(100052, "推送APP密码不存在"),
    SENDDONETOOAFAIL(100053, "推送结束任务至OA发生业务异常"),
    SENDDONETOOAUNKOWNFAIL(100054, "推送结束任务至OA发生系统异常"),
    SENDCANELTOOAFAIL(100055, "推送结束任务至OA发生业务异常"),
    SENDCANELTOOAUNKOWNFAIL(100056, "推送结束任务至OA发生系统异常"),
    SENDWECHATFAIL(100057, "推送任务至企业微信发生业务异常"),
    SENDWECHATUNKOWNFAIL(100058, "推送任务至企业微信发生系统异常"),
    SENDWECHATMOBILEORTITLENOTEXIST(100059, "向企业微信发送任务消息失败,接收人手机号或消息内容为空"),
    SENDWECHATUSERORTITLENOTEXIST(100060, "向企业微信发送任务消息失败,接收人手机号或消息内容为空"),
    TASKIDNOTEXIST(100061, "任务唯一标识不存在"),
    CHECKOLDFSSCMESSAGECIDNOTEXIST(100062, "待完成的任务或待取消的任务不存在"),
    RECIVERNOTEXIST(100063, "向OA新增任务失败，任务接收人不存在"),
    CTREATERNOTEXIST(100064, "向OA新增任务失败，任务创建人不存在"),
    FINSHERNOTEXIST(100065, "向OA新增任务失败，任务完成人不存在"),
    CANCELERNOTEXIST(100066, "向OA新增任务失败，任务撤销人不存在"),
    CREATEIMAGEFAILED(100067, "Base64编码失败，生成验证码失败"),
    CHECKIMAGEFAILED(100068, "校验验证码失败，请重新获取验证码"),
    INSERTFSSCFUNDFAILED(100069, "落地单条来自财务共享外币付款指令失败"),
    UPDATEFSSCFUNDFAILED(1000670, "落地单条来自财务共享外币付款指令失败"),
    PUSHWITHOUTBILLSFAILED(1000671, "推送外币付款失败 成本编号未指定为"),
    USER_NOT_EXIST(1000672, "用户已不存在或用户信息不完整"),
    EXCHANGE_RATE_DATE_DIFF(1000673, "修改汇率时间不允许存在跨度"),
    EXIST_OPENED_ACCOUNT_DATA(1000674, "只有账户状态为‘未开户’的才允许删除"),
    EXIST_ENABLE_DATA(1000675, "只有当状态为‘未启用’时，才允许删除"),
    BANK_ACCOUNT_NOT_EXIST(1000676, "供方银行账号不存在,请维护对应银行账户信息"),
    BANK_DEPOSIT_NOT_EXIST(1000677, "供方银行开户行不存在"),
    CURRENCY_DICT_NOT_EXIST(1000678, "币种对应字典不存在"),
    ACCOUNT_NATURE_DICT_NOT_EXIST(1000679, "账户性质对应字典不存在"),
    PROVIDER_NOT_EXIST(1000680, "供应商不存在"),
    PROVIDER_BANK_NOT_EXIST(1000681, "供应商银行不存在"),
    PROVIDER_COMPANY_NOT_EXIST(1000682, "供应商公司分配不存在"),
    PROVIDER_ADDRESS_NOT_EXIST(1000683, "供应商地址不存在"),
    ID_DENY(1000684, "数据项非法");

    private final Integer code;

    private final String message;

    ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
